package com.skynet.supervision.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.skynet.supervision.entities.base.BaseEntity;
import lombok.Data;

@TableName("t_user_role_links")
@Data
public class UserRole extends BaseEntity {

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    private String userId;

    private String roleId;

    @TableField(exist = false)
    private String roleName;
}
